package edu.cueb.wmis.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuzizhuo
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_orderbill")
@ApiModel(value="Orderbill对象", description="")
public class Orderbill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预选单号")
    private String billNumber;

    @ApiModelProperty("填写日期")
    private LocalDate inputDate;

    @ApiModelProperty("操作员ID")
    private Integer operatorId;

    @ApiModelProperty("操作员")
    @TableField(exist = false)
    private Admin admin;

    @ApiModelProperty("是否出库")
    private Integer state;


}
